package com.example.demo.project2.controller;

import com.example.demo.project2.service.TestService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class TestController {

    @Resource
    private TestService testService;

    @GetMapping(value = "/fusingTest")
    public String fusingTest(long s) throws Exception {
        return testService.fusingTest(s);
    }

    @GetMapping(value = "/fusingTest2")
    public String fusingTest2(long s) throws Exception{
        return testService.fusingTest2(s);
    }

}
